The PostScript Procedure Set Control ('prec') Resource
The PostScript procedure set control ('prec'
) resource, of typegxPostscriptProcSetControlType
, is used with PostScript drivers to define a procedure set that can be downloaded to a PostScript printer. This resource is optional.Figure 6-28 shows the structure of a procedure set control resource.
Figure 6-28 The PostScript procedure set control resource
The procedure set control resource contains naming, version, and memory information about the procedure set, followed by the IDs of the resources that comprise the procedure set.
Each procedure in the set is defined in a resource. Each entry in the array consists of the ID of the procedure resource and a flag that specifies what to do with the procedure data.
- Procedure set name. The Pascal string name of the procedure set.
- Procedure set version. The procedure set type. This is a fixed version number.
- Revision. The revision number (an integer) of this procedure set.
- Memory usage. The amount of printer memory required for the procedure set.
- Count. The number of resources that comprise the procedure set.
The string list resource is described in Inside Macintosh: Macintosh Toolbox Essentials.
- Resource ID. The ID of the resource containing a PostScript procedure.
- Flags. A value that describes what to do with the data in the resource. The constants that you can use in this field are shown in Table 6-37.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help